package edu.hubu.work01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Cowshed {
    private int cshdId;
    private int cshdCapacity;
    private int cshdSpace;
    private int userId;

    public int getCshdId() {
        return cshdId;
    }

    public void setCshdId(int cshdId) {
        this.cshdId = cshdId;
    }

    public int getCshdCapacity() {
        return cshdCapacity;
    }

    public void setCshdCapacity(int cshdCapacity) {
        this.cshdCapacity = cshdCapacity;
    }

    public int getCshdSpace() {
        return cshdSpace;
    }

    public void setCshdSpace(int cshdSpace) {
        this.cshdSpace = cshdSpace;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "cowshed{" +
                "cshdId=" + cshdId +
                ", cshdCapacity=" + cshdCapacity +
                ", cshdSpace=" + cshdSpace +
                ", userId=" + userId +
                '}';
    }
}
